package com.learn.multDataSource.mapper.mysql;

import com.learn.multDataSource.model.mysql.TUserKnow;
import com.learn.multDataSource.model.mysql.TUserKnowExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TUserKnowMapper {
    int countByExample(TUserKnowExample example);

    int deleteByExample(TUserKnowExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TUserKnow record);

    int insertSelective(TUserKnow record);

    List<TUserKnow> selectByExample(TUserKnowExample example);

    TUserKnow selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TUserKnow record, @Param("example") TUserKnowExample example);

    int updateByExample(@Param("record") TUserKnow record, @Param("example") TUserKnowExample example);

    int updateByPrimaryKeySelective(TUserKnow record);

    int updateByPrimaryKey(TUserKnow record);
}